package com.lagou.zxy.model;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: stage-4-module-3
 * @description:
 * @author: zhangxiaoyang
 * @date: 11/21/20 11:06 PM
 **/
@Document(collection = "lg_resume_datas")
@Data
@ToString
public class Resume {

    @Id
    private String id;

    private String name;

    private String salary;

    private String city;
}
